#! /bin/csh -f

if {$?XUSERFILESEARCHPATH} then
	setenv XUSERFILESEARCHPATH "`pwd`/%N:$XUSERFILESEARCHPATH"
else
	setenv XUSERFILESEARCHPATH "`pwd`/%N"
endif

cd ../../../

setenv DEMOS `pwd`
cd src/demos/demobook
./demobook book.contents.ascii &

switch (`xconfirm -header "demobook-launching 'jingle'" -geometry 276x160+50+580 -t "wanna hear the jingle that goes with" -t "launching demobook?  (it breaks up" -t "because it's located on the CD" -t "--instead of yer local disk.)" -b No -B Yes`)
  case "Yes":
    /usr/sbin/playaiff /CDROM/data/sounds/dt4.1.aifc
    breaksw
  case "No":
    breaksw
endsw

